<template>
  <div id="activityContent">
<el-form ref="form" :model="form" label-width="80px">
  <el-form-item label="标题">
    <el-input v-model="form.name"></el-input>
  </el-form-item>
  <el-form-item label="地点">
    <el-input v-model="form.name"></el-input>
  </el-form-item>
  <el-form-item label="时间">
    <el-input v-model="form.name"></el-input>
  </el-form-item>
  <el-form-item label="简要内容">
    <el-input type="textarea" v-model="form.desc"></el-input>
  </el-form-item>
  <el-form-item label="详细内容">
    <el-input type="textarea" v-model="form.desc"></el-input>
  </el-form-item>
  <el-form-item>
    <el-button type="primary" @click="onSubmit">确定</el-button>
    <el-button>重置</el-button>
  </el-form-item>
</el-form>

  </div>
</template>
<script>
  export default {
    name: 'activityContent',
    data(){
      return{ form: {
          name: '',
          adress: '',
          date: '',
          desc1: '',
          desc2: ''
        }


      }
    },
    methods:{
      onSubmit() {
        console.log('submit!');
      }
    }

    }
  }
</script>

<style scoped>
  #news{

  }
</style>